package com.itheima02;

public class BasicTeacher extends Teacher {
    public BasicTeacher() {
    }

    public BasicTeacher(String name, String age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("基础班老师教基础课程");
    }
}
